import { createRoot } from 'react-dom/client'
// import ReactTSApp from './ReactTSApp.tsx'
import ReactRouterApp from './ReactRouterApp.tsx'

// import routes from './router/index.tsx'
// import router from './router/index.tsx'
// import ParentCom from './components/ParentCom.tsx'
// React+TS开发语法
// createRoot(document.getElementById('root')!).render(
//     <ReactTSApp />
// )

// useMemo useCallback
// createRoot(document.getElementById('root')!).render(
//     <ParentCom />
// )

// React Router
createRoot(document.getElementById('root')!).render(
    <ReactRouterApp />
)
